﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace View
{
    public partial class MenuDishes : Form
    {
        private Menu menu;
        public MenuDishes(Menu menu)
        {
            this.menu = menu;
            InitializeComponent();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Remove x = new Remove();
            x.Show();
        }

        private void button6_Click(object sender, EventArgs e)
        {
            menu.Show();
            this.Dispose();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            Add x = new Add();
            x.Show();
        }

        private void MenuDishes_Load(object sender, EventArgs e)
        {

        }

        private void button3_Click(object sender, EventArgs e)
        {
            Update x = new Update();
            x.Show();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Delete x = new Delete();
            x.Show();
        }

        private void button5_Click(object sender, EventArgs e)
        {
            AddDish x = new AddDish();
            x.Show();
        }
    }
}
